package com.woniu.his.sms.service;

import com.woniu.his.sms.infra.model.RegistrationRank;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.his.sms.service.dto.PageRegistrationRankDto;
import com.woniu.his.sms.service.dto.RegistrationRankDto;
import com.woniu.his.sms.service.param.AddRegistrationRankParam;
import com.woniu.his.sms.service.param.QueryRegistrationRankParam;
import com.woniu.his.sms.service.param.UpdateRegistrationRankParam;

import java.util.List;

/**
 * <p>
 * 挂号等级表 服务类
 * </p>
 *
 * @author cb
 * @since 2022-11-25
 */
public interface RegistrationRankService extends IService<RegistrationRank> {

    /**
     * 新增挂号等级
     * @param param
     */
    void addRegistrationRank(AddRegistrationRankParam param);

    /**
     * 根据ids删除挂号级别
     * @param rankIds
     */
    void deleteRegistrationRankByIds(List<Long> rankIds);

    /**
     * 分页模糊查询挂号级别
     * @param param
     * @return
     */
    PageRegistrationRankDto queryRegistrationRank(QueryRegistrationRankParam param);

    /**
     * 所有挂号级别
     *
     * @return
     */
    List<RegistrationRankDto> queryAllRegistrationRank();

    /**
     * 更新挂号级别信息
     * @param param
     * @return
     */
    RegistrationRankDto updateRegistrationRank(UpdateRegistrationRankParam param);
}
